/************ Concat Css ************/
.contact {
    background: linear-gradient(90.21deg, #AA367C -5.91%, #4A2FBD 111.58%);
    padding: 60px 0 200px 0;
}

.contact img {
    width: 92%;
}

.contact h2 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* important 输入框的css */
.contact form input,
.contact form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    color: #fff;
    margin: 0 0 8px 0;
    padding: 18px 26px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.8px;
    transition: 0.3s ease-in-out;
}

/* focus 选中输入框的样式 */
.contact form input:focus,
.contact form textarea:focus {
    background: rgba(255, 255, 255, 1);
    color: #121212;
}

/* 选中后，新输入的内容给样式 */
.contact form input::placeholder,
.contact form textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

/* 选中后，原有的placeholder 样式 不输入情况下 */
.contact form input:focus::placeholder,
.contact form textarea:focus::placeholder {
    color: #121212;
    opacity: 0.8;
}

/* 按钮 */
.contact form button {
    /* 变成块级居中 */
    display: block;
    margin:0  auto;
    margin-top: 25px;
    font-weight: 700;
    color: #000;
    background-color: #fff;
    padding: 14px 48px;
    font-size: 18px;
    border-radius: 0;
    position: relative;
    transition: 0.3s ease-in-out;
}
.contact form button span {
    z-index: 1;
    position: relative;
  }
  .contact form button:hover {
    color: #fff;
  }
  .contact form button::before {
    content: "";
    background: #121212;
    /* width: 100%; */
    width: 0;

    height: 100%;
    position: absolute;
 

    top: 0;
    left: 0;
    z-index: 0;
    /* transition: all 0.3s ease-in-out; */
    transition: 0.3s ease-in-out;

    /* transform: scaleX(0); */
  }
  .contact form button:hover::before {
    width: 100%;
    /* transform: scaleX(1) !important; */
  }